import request from '@/utils/request'
const prefixUrl = '/api/organizer'
/**
 * 添加（编辑）工作流
 * @param {*} data
 * @returns
 */
export function addFlow(data) {
  return request({
    url: prefixUrl + '/addFlow',
    method: 'post',
    data
  })
}

export function infoFlow(data) {
  return request({
    url: prefixUrl + '/infoFlow',
    method: 'post',
    data
  })
}

export function editFlow(data) {
  return request({
    url: prefixUrl + '/editFlow',
    method: 'post',
    data
  })
}
